package com.yc.cloud.openai.portal.dto.request;

import com.yc.cloud.openai.portal.enums.GPTChatProvider;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class GptDatasetCollectionCreateRequest {

    @Schema(description = "名称", required = true)
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "知识库ID", required = true)
    @NotNull(message = "知识库ID不能为空")
    private Long datasetId;

    // @Schema(description = "文件ID", required = true)
    // @NotEmpty(message = "文件ID不能为空")
    // private String fileId;

    @Schema(description = "提供者", hidden = true)
    private String provider = GPTChatProvider.FASTGPT.getKey();


}
